SQL Antipatterns: Avoiding the Pitfalls of Database Programming by Bill Karwin
				
							 
							
								
							
							
							Author:Bill Karwin [Karwin, Bill]
							
							
							
							Language: eng
							
							
							
							Format: epub, pdf
							
							
							
							Tags: Computers, Non-Fiction, Programming Languages, SQL, Technology
							
							
																				
							ISBN: 9781934356555
							
							
							
							Google: Ghr4RAAACAAJ
							
							
							
							Amazon: 1934356557
							
							
							
							
							
							Publisher: Pragmatic Bookshelf
							
							
							
							Published: 2010-01-15T00:00:00+00:00
							
							
							
							
							
							
You might think that the next query returns the complementary set of rows, that is, all rows not returned by the previous query:
Fear-Unknown/anti/search-not.sql
SELECT * FROM Bugs WHERE NOT (assigned_to = 123);
However, neither query result includes rows where assigned_to is null. Any comparison to null returns unknown, not true or false. Even the negation of null is still null.
It's common to make the following mistakes searching for null values or non-null values:
Fear-Unknown/anti/equals-null.sql
SELECT * FROM Bugs WHERE assigned_to = NULL;
Download
SQL Antipatterns: Avoiding the Pitfalls of Database Programming by Bill Karwin.pdf
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.
| Coding Theory | Localization | 
| Logic | Object-Oriented Design | 
| Performance Optimization | Quality Control | 
| Reengineering | Robohelp | 
| Software Development | Software Reuse | 
| Structured Design | Testing | 
| Tools | UML | 
Deep Learning with Python by François Chollet(12895)
Hello! Python by Anthony Briggs(10142)
The Mikado Method by Ola Ellnestam Daniel Brolund(10039)
OCA Java SE 8 Programmer I Certification Guide by Mala Gupta(9997)
Dependency Injection in .NET by Mark Seemann(9534)
Algorithms of the Intelligent Web by Haralambos Marmanis;Dmitry Babenko(8540)
Grails in Action by Glen Smith Peter Ledbrook(7903)
Test-Driven iOS Development with Swift 4 by Dominik Hauser(7872)
Becoming a Dynamics 365 Finance and Supply Chain Solution Architect by Brent Dawson(7834)
The Well-Grounded Java Developer by Benjamin J. Evans Martijn Verburg(7784)
Microservices with Go by Alexander Shuiskov(7599)
Practical Design Patterns for Java Developers by Miroslav Wengner(7508)
Test Automation Engineering Handbook by Manikandan Sambamurthy(7449)
Angular Projects - Third Edition by Aristeidis Bampakos(6907)
Secrets of the JavaScript Ninja by John Resig Bear Bibeault(6663)
The Art of Crafting User Stories by The Art of Crafting User Stories(6370)
NetSuite for Consultants - Second Edition by Peter Ries(6319)
Demystifying Cryptography with OpenSSL 3.0 by Alexei Khlebnikov(6107)
Kotlin in Action by Dmitry Jemerov(5311)
